<cfsetting enablecfoutputonly="yes">
<!--- @@displayname: CFUGWA Sponsor Logos --->
<!--- @@author: Scaffold--->

<!--- tag libraries --->
<cfimport taglib="/farcry/core/tags/webskin/" prefix="skin">
<cfimport taglib="/farcry/core/tags/formtools/" prefix="ft">

<!--- create image object --->
<cfif stObj.LOGO NEQ "">
<cfset oImage = createObject("component", "#application.types.dmImage.typePath#")>
<cfset stImage = oImage.getData(stObj.LOGO)>

<cfoutput><a href="http://#stobj.LINK#" target="_blank"><img src="#stImage.SOURCEIMAGE#" alt="stImage.ALT" border="0" /></a><br /></cfoutput>
<cfelse>
	<cfoutput><a href="http://#stobj.LINK#" target="_blank">#stObj.Title#</a><br /></cfoutput>
</cfif>
<cfsetting enablecfoutputonly="false" />
